
<!DOCTYPE html>
<html lang="en">
<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>Document</title>
    <script src="https://unpkg.com/vue@3"></script>
</head>
<body>
    <div id="app">
        <a :href="link">百度</a>
        <input type="text" :placeholder="inputValue">
        <img :src='imgSrc' :style="{width:w}" alt="">
    </div>
    
    <script>
        const { createApp } = Vue
      
        createApp({
          data() {
            return {
              link:'https://www.baidu.com',
              inputValue:'请输入内容',
              imgSrc:"./img/1.png",
              w:'500px',
            }
          }
        }).mount('#app')
      </script>
</body>
</html>